/**
 * @(#)MarkDayTask.java 2017年3月16日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian.channel;

import java.io.Serializable;

/**
 * 天留存
 *
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public class MarkDayTask implements Serializable {

    /**
     * serialVersionUID TODO 请描述这个变量的含义
     */
    private static final long serialVersionUID = 1L;
    private String mark;
    private String day;
    private Integer taskNum;
    private Double rate;
    /**
     * 拉活比例
     */
    private Double brushRate;
    // 是否使用正太分布
    private boolean limit;

    private Integer actionType;
    // 执行次数
    private int execTimes;
    // 优先级
    private int priorty;

    private Integer apkId;

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public Integer getTaskNum() {
        return taskNum;
    }

    public void setTaskNum(Integer taskNum) {
        this.taskNum = taskNum;
    }

    public Double getRate() {
        return rate;
    }

    public int getExecTimes() {
        return execTimes;
    }

    public void setExecTimes(int execTimes) {
        this.execTimes = execTimes;
    }

    public void setRate(Double rate) {
        this.rate = rate;
    }

    public boolean isLimit() {
        return limit;
    }

    public void setLimit(boolean limit) {
        this.limit = limit;
    }

    public int getPriorty() {
        return priorty;
    }

    public void setPriorty(int priorty) {
        this.priorty = priorty;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public Integer getActionType() {
        return actionType;
    }

    public void setActionType(Integer actionType) {
        this.actionType = actionType;
    }


    public Double getBrushRate() {
        return brushRate;
    }


    public void setBrushRate(Double brushRate) {
        this.brushRate = brushRate;
    }

    public Integer getApkId() {
        return apkId;
    }

    public void setApkId(Integer apkId) {
        this.apkId = apkId;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((day == null) ? 0 : day.hashCode());
        result = prime * result + ((mark == null) ? 0 : mark.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {

            return true;
        }
        if (obj == null) {
            return false;

        }
        if (getClass() != obj.getClass()) {

            return false;
        }
        MarkDayTask other = (MarkDayTask) obj;
        if (day == null) {
            if (other.day != null) {

                return false;
            }
        } else if (!day.equals(other.day)) {
            return false;

        }
        if (mark == null) {
            if (other.mark != null) {
                return false;
            }
        } else if (!mark.equals(other.mark)) {
            return false;
        }
        return true;
    }


}
